#include<iostream>
using namespace std;
int main()
{
	int num = 0;

	do
	{
		cout << num << endl;
		num++;
	} 
	while (num<10);
	system("pause");
	return 0;
}